home *** CD-ROM | disk | FTP | other *** search
- Failat 21
- Set >Nil: SerLinkVer V1.3c
- Set >Nil: ExeVer V1.3a
- Assign Serlink1: ""
- If Exists "S:Disk.ID"
-
- Echo "*e[1;1H*e[J"
- Echo "*e[1;32m _________________________________________________________________________"
- Echo " *e[43m *e[0m"
- Echo " *e[0;32;43m Serlink $SerLinkVer Installation ©1995 C.Wilkinson*e[1m *e[0m"
- Echo " *e[1;4;43m *e[0m"
- Echo " "
- Echo " "
- Echo " S O R R Y !!"
-
- Echo " Serlink $SerLinkVer cannot be installed to this master disk, "
- Echo " Please Boot your hard drive or use this disk to start Ser-link"
- Echo " "
- Echo Noline "[Return]"
- Set >Nil: Return ?
- Skip Quit
- Endif
- Lab Start
-
- Echo "*e[1;1H*e[J"
- Echo "*e[1;32m _________________________________________________________________________"
- Echo " *e[43m *e[0m"
- Echo " *e[0;32;43m Serlink $SerLinkVer Installation ©1995 C.Wilkinson*e[1m *e[0m"
- Echo " *e[1;4;43m *e[0m"
- Echo "*N*N*n*n What Do You Want To Install."
- Echo " "
- Echo " A) All Ser-link Package $SerLinkVer"
- Echo " "
- Echo " B) Ser-Link $SerLinkVer"
- Echo " "
- Echo " C) Remote Execute $ExeVer"
- Echo " "
- Echo " Q) Abort Installation"
- Echo " "
- Echo noline " *n Please Select (A,B,C,Q) "
-
-
-
-
- Set >Nil: FindPackage ?
-
- if $FindPackage eq "a"
- Set >Nil: Full yep
- Set >Nil: Serlink yep
- Set >Nil: RemoteExecute yep
- skip InstallPath
- endif
-
- if $FindPackage eq "b"
- Set >Nil: Serlink yep
- skip InstallPath
- endif
-
- if $FindPackage eq "c"
- Set >Nil: RemoteExecute yep
- skip InstallPath
- endif
-
- if $FindPackage eq "q"
- echo "Installation Aborted!"
- wait 1
- Skip Quit
- endif
-
- skip back Start
-
-
- Lab InstallPath
- Echo "*e[1;1H*e[J"
- Echo "*e[1;32m _________________________________________________________________________"
- Echo " *e[43m *e[0m"
- Echo " *e[0;32;43m Serlink $SerLinkVer Installation ©1995 C.Wilkinson*e[1m *e[0m"
- Echo " *e[1;4;43m *e[0m"
- Echo " "
- Echo " "
- Echo noline " Enter Destination Path to Install Ser-Link To (Ie Dh0:) "
- set >Nil: Path ?
- if >Nil: not exists $Path
- Echo " Wrong Path, Does not exist! try Again...*n"
- Wait 1
- skip back InstallPath
- endif
- Echo " "
- Assign >Nil: Serlink: $Path
- Makedir >Nil: Serlink:Serlink
- Copy >Nil: Serlink1:S/Serlink.Info Serlink:
- ;--------------------------------------------------------Install Full Package
- If $Full eq "yep"
- Echo "*e[1;1H*e[J"
- Echo "*e[1;32m _________________________________________________________________________"
- Echo " *e[43m *e[0m"
- Echo " *e[0;32;43m Serlink $SerLinkVer Installation ©1995 C.Wilkinson*e[1m *e[0m"
- Echo " *e[1;4;43m *e[0m"
- Echo " "
- Echo " "
- Echo " "
- Echo "Installing Full Serlink $SerLinkVer Package"
- Echo " "
- Echo " "
- Endif
-
- ;--------------------------------------------------------Install Serlink
- If $Serlink eq "yep"
- Echo " Installing Serlink to $Path/Serlink"
- Echo " "
- Echo noline " Serlink $SerLinkVer.........."
- Copy >Nil: Serlink1:Ser-Link_Server#? Serlink:SerLink
- Echo "Done"
- Echo noline " Serlink Remote $SerLinkVer..."
- Copy >Nil: Serlink1:Ser-Link_Remote#? Serlink:SerLink
- Echo "Done"
-
- if not exists S:Serlink.Scripts
- Echo noline " Installing S:Serlink.Scripts to S:...."
- Copy >Nil: Serlink1:S/Serlink.Scripts S:
- Echo "Done"
- Endif
- Echo " "
- Echo noline " Iconified SerLink Icon To Env-Arc:Sys/ & Env:Sys/..."
- Copy >Nil: Serlink1:Prefs/Env-Archive/Sys/Server.info Sys:Prefs/Env-archive/Sys/
- Copy >Nil: Serlink1:Prefs/Env-Archive/Sys/Server.info Ram:Env/Sys/
- Echo "Done"
- Echo " "
-
- Endif
- ;--------------------------------------------------------Install Remote Execute Package
- If $RemoteExecute eq "yep"
-
-
- If not exists S:RemoteExecute.Cfg
- Echo noline " Installing RemoteExecute.Cfg to S:..."
- Copy >Nil: Serlink1:S/RemoteExecute.Cfg S:
- Echo "Done"
- Endif
- Echo Noline " Installing Remote Execute $ExeVer............."
-
- Copy >Nil: Serlink1:Remote_#? Serlink:Serlink
- Echo "Done"
- endif
- ;--------------------------------------------------------Install Xprd
- Lab InstallXprd
- Echo Noline " Installing Xprd to C:......................."
- Copy >Nil: Serlink1:C/Xprd C:
- Echo "Done"
- ;--------------------------------------------------------Install Fonts
- Lab InstallFont
- Echo Noline " Installing Serlink Fonts to Fonts:.........."
- Makedir >Nil: Fonts:Serlink
- Copy >Nil: Serlink1:Fonts/Serlink.Font Fonts:
- Copy >Nil: Serlink1:Fonts/Serlink/#? Fonts:Serlink/
- Echo "Done"
- ;--------------------------------------------------------Install Libraries
- Lab InstallLibrary
- if not exists Libs:xprzmodem.library
- Echo Noline " Installing Xprzmodem.library to Libs:......."
- Copy >Nil: Serlink1:Libs/xprzmodem.library Libs:
- Echo "Done"
- endif
- ;--------------------------------------------------------Install Serial Device
- Lab InstallSerialDevice
- If not Exists Devs:Serial.Device
- Echo Noline " Installing Serial.Device to Devs:..........."
- Copy >Nil: Serlink1:Devs/serial.device Devs:
- Echo "Done"
- endif
- ;-------------------------------------------------------Install Documentation
- Lab InstallDocs
- Echo Noline " Installing Documentation to $Path/SerLink...."
- Copy >Nil: Serlink1:Serlink.Guide#? Serlink:Serlink/
- Echo "Done"
- ;--------------------------------------------------------Quit & Clean Up
- Copy >Nil: Serlink1:C/Run C:
- Copy >Nil: Serlink1:Installer#? Serlink:Serlink/
- ;Copy >Nil: Serlink1:S/Disk.ID#? S:
- Echo " "
- Echo "Installation Complete "
- Echo " "
- Echo "Serlink Can Be Found In $Path/Serlink Drawer"
- Echo " "
-
- Echo Noline " [Return]"
-
- Set >Nil: Return ?
- Lab Quit
- Assign >Nil: Serlink: Remove
- Assign >Nil: Serlink1: Remove
- Endif
-